﻿@model Prime.Models.Student

@{
    ViewBag.Title = "Details";
}
<div class="container">

    <h2>Profil</h2>

    <div>
        <h4>Student</h4>
        <hr>

        <table class="table">
            <tr>
                <td>Ime</td>
                <td>@Html.DisplayFor(model => model.FirstName)</td>
            </tr>

            <tr>
                <td>Prezime</td>
                <td>@Html.DisplayFor(model => model.LastName)</td>
            </tr>
            <tr>
                <td>e-mail</td>
                <td>@Html.DisplayFor(model => model.Email)</td>
            </tr>
            <tr>
                <td>Datum registracije</td>
                <td>                    @Html.DisplayFor(model => model.RegistrationDate)</td>
            </tr>
            <tr>
                <td>Poeni</td>
                <td>@Html.DisplayFor(model => model.Points)</td>
            </tr>
        </table>
    </div>
    <p>
        @Html.ActionLink("Edit", "Edit", new { id = Model.UserName }) |
        @Html.ActionLink("Back to List", "Index")
    </p>

</div>